add script that creates singularity image for UWLCM with GPU support #77
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks to great help from @mwarusz I'm finally done with the singularity image for UWLCM.
It is based on ubuntu 18.04 and cuda 10.0. Hope this helps some future users.
In the pull I just add the script that creates it and instructions how to do it. Let me know if you want the image too. Or if you want to try to create it yourself and test things. I'm assuming that both the libraries and UWLCM may still change. Therefore they are not part of the image but have to be installed locally later inside the image. If thats not the case they could be added to it when the image is build.
A side note 1: I also tried with an image based on ubuntu 16.04 and cuda 8.0 but I got some errors when compiling the moist thermal in UWLCM. I'm leaving it for now since it works with the newer versions. But in case you want to run it on a machine with older cuda version its probably not far from working too. Let me know if you want that script too.
A side note 2: It takes extremely long time to compile UWLCM. Maybe it would be useful to suggest a minimal/default set of options to compile. And ignore the others.